package responseData.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

/**
 * @Author quan
 * @Description 写博客页面、编辑博客、删除博客、登录博客、注册博客页面
 * @Date 2023/7/26 17:15
 */
@Slf4j
@RequestMapping("/web")
@RestController
public class UserController {
    //测试boolean类型
    @RequestMapping("/test01")
    public boolean test01(){
        log.info("test01 ...");
        return true;
    }
    //测试String类型
    @RequestMapping("/test02")
    public String test02(){
        log.info("test02 ...");
        return "test02...";
    }
}
